package com.nuoniu.sibanyun.entity.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.util.List;


/**
 * @auther 小啊刚
 * @date 2020/5/27
 */
@Data
public class SysRoleDto {

    private Page page = new Page();

    private Long key;
    private Long id;
    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "角色别名")
    private String roleAlias;

    @ApiModelProperty(value = "角色描述")
    private String remarks;

    @ApiModelProperty(value = "角色类型")
    private Integer roleType;

    @ApiModelProperty(value = "用户类型")
    private Integer userType;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "数据范围")
    private Integer dataScope;

    @ApiModelProperty(value = "排序号")
    private Integer roleSort;

    @ApiModelProperty(value = "菜单id")
    List<Long> menuId;

    @ApiModelProperty(value = "机构id")
    List<Long> officeId;

    @ApiModelProperty(value = "用户id")
    List<String> userId;
}
